xen/arm: WORKAROUND Support kick cpus and switch to hypervisor for the exynos5
authorJulien Grall <julien.grall@linaro.org>
Sun, 28 Apr 2013 20:07:20 +0000 (21:07 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 13 May 2013 11:00:02 +0000 (12:00 +0100)
commitbd74772eb65f6624437f789c1e6884e073a03fcc
tree2742697abb70585297b8584fe0db676b680d5060
parent8e892d358c714b00229c654c4189a5914603ac07
xen/arm: WORKAROUND Support kick cpus and switch to hypervisor for the exynos5

Use machine ID to know what is the current board. This value is only given
to the first CPU by the bootloader.

When the exynos 5 starts, there is only one CPU up. Xen needs to start the
secondary cpu. The latter boots in secure mode.

Theses modifications aim to be removed as soon as possible. It should
be moved either in a platform specific boot-wrapper (which will be start
before Xen), or in the bootloader (assuming U-Boot/Grub will support SMP).

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/arm32/head.S
xen/arch/arm/arm32/mode_switch.S
xen/include/asm-arm/platforms/vexpress.h